/// RedemptionNairaDto
class RedemptionNairaDto {
  /// 被编辑的客户端用户ID
  final int userId;
  /// 赎回奈拉总数
  final int redemptionAmount;

  RedemptionNairaDto({
    required this.userId,
    required this.redemptionAmount,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['userId'] = userId;
    data['redemptionAmount'] = redemptionAmount;
    return data;
  }

  factory RedemptionNairaDto.fromJson(Map<String, dynamic> json) {
    return RedemptionNairaDto(
      userId: json['userId'],
      redemptionAmount: json['redemptionAmount'],
    );
  }
}